package com.pay.ioopos.fragment;

import com.pay.ioopos.DataFactory;
import com.pay.ioopos.PwdValidator;


public class SuperPwdValidFragment extends AbstractPwdValidFragment {

    public SuperPwdValidFragment() {
        super("超管密码");
    }

    @Override
    protected PwdValidator validator() {
        return pwd -> pwd.equals(DataFactory.getDataStore().getSuperPwd());
    }
}
